export default function (http) {
    return {
        queryByPage (data){
            return http.json({
                url: '/api/room/queryFtglPage',
                data
            });
        },

        queryLevelAndRoom (data){
            return http.json({
                url: '/api/room/queryLevelAndRoom',
                data
            });
        },

        getRoomHtInfo (data){
            return http.json({
                url: '/api/room/getRoomHtInfo',
                data
            });
        },

        handleYl (data){
            return http.json({
                url: '/api/room/handleYl',
                data
            });
        },

        handleTz (data){
            return http.json({
                url: '/api/room/handleTz',
                data
            });
        },

        handleUnLock (data){
            return http.json({
                url: '/api/room/handleUnLock',
                data
            });
        },

        handleLock (data){
            return http.json({
                url: '/api/room/handleLock',
                data
            });
        },
    }
}
